﻿using GPS.DataAccessLayer;
using PagedList;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GPS.ENTITYS
{
    public class ViewModelSLLDT
    {
        public int? Page { get; set; }
        public string lLLDT_DVGTVT_MA { get; set; }
        public string lLLDT_HGPLX_MA { get; set; }
        public short lLLDT_LUULUONG { get; set; }
        public string lLLDT_ACTIVE { get; set; }
        public IPagedList<SLLDT> SearchResults { get; set; }
    }

    public class ViewModelSLLDT_FORM
    {
        public int? Page { get; set; }
        public string pLLDT_DVGTVT_MA { get; set; }
        public string pID { get; set; }
        public string pLLDT_HGPLX_MA { get; set; }
        public string pLLDT_ACTIVE { get; set; }

        [DataType(DataType.Date)]
        [DisplayFormat(DataFormatString = "{0:dd/MM/yyyy}", ApplyFormatInEditMode = true)]
        public DateTime? pLLDT_TUNGAY { get; set; }

        [DataType(DataType.Date)]
        [DisplayFormat(DataFormatString = "{0:dd/MM/yyyy}", ApplyFormatInEditMode = true)]
        public DateTime? pLLDT_DENNGAY { get; set; }

        public IPagedList<SLLDT> SearchResults { get; set; }
    }
    public class CrudModelSLLDT_FROM
    {
        public string STT { get; set; }
        public string ID_LL { get; set; }
        public string LLDT_DVGTVT_MA { get; set; }
        public string LLDT_HGPLX_MA { get; set; }
        public string  DVGTVT_TEN { get; set; }
        public string LLDT_LUULUONG { get; set; }
        public string LLDT_MOTA { get; set; }
        public string LLDT_ACTIVE { get; set; }
        public string LLDT_NGAYNHAP { get; set; }
        public string LLDT_NGUOINHAP { get; set; }
        public string LLDT_NGAYSUA { get; set; }
        public string LLDT_NGUOISUA { get; set; }

    }
}
